package com.xzr.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class DemoApplication {
	/**
	* 借助 ： 这个，可以手动获取 Bean 对象
	* @param null
	* @return
	*/
	public static ConfigurableApplicationContext context;

	public static void main(String[] args) {
		context =  SpringApplication.run(DemoApplication.class, args);
	}

}
